<div class="modal-header">
    <h4 class="modal-title">{{title}}</h4>
</div>

<div class="modal-body">
    <form class="form-horizontal" name="addMaterialForm" novalidate ng-submit="ok()">
        <div class="form-group">
            <label class="col-sm-3 ">积分数</label>
            <div class="col-sm-8">
                <input  type="text" class="form-control"
                        placeholder="请输入积分数量(扣除输入负数)" name ="score"
                        ng-model="recordDetail.score" required>
            </div>
            <div class="col-sm-3"></div>
        </div>

    </form>
</div>

<div class="modal-footer">
    <div class="row">
        <div class="col-xs-4 col-xs-offset-1">
            <button class="btn btn-default btn-action" ng-click="cancel()">取 消</button>
        </div>
        <div class="col-xs-2"></div>
        <div class="col-xs-4">
            <button class="btn btn-primary btn-action" ng-disabled="!addMaterialForm.$valid" ng-click="save()">
                保  存
            </button>
        </div>
    </div>
</div>



